home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 22 / Amiga Format AFCD22 (Jan 1998, Issue 106).iso / -in_the_mag- / picmanagerpro / docs / readme.ghostscript < prev    next >
Text File  |  1997-11-19  |  4KB  |  97 lines

  1.  
  2.   The Ghostscript support module has been tested with the
  3.   Ghostscript 3.53 and 4.03 ports from Aminet, with amiga driver
  4.   & no ixemul.library: Aladdin Ghostscript is Copyright
  5.   (C) 1989, 1995 Aladdin Enterprises. All rights reserved.
  6.  
  7.   Recommended is V5.01, Ghostscript 2.6.1 may work, if you don't
  8.   use PNG as output file format.
  9.  
  10.   At first, Ghostscript must have been successfully installed,
  11.   and working (test it via command line access).
  12.  
  13.   For enabling Ghostscript support, you either have to supply
  14.   an AmigaDOS search path to a directory, where the executable
  15.   "gs000" is stored (default), or explicitely specify path and/or
  16.   name of the program by the controlpad entry GS_PATH (see below).
  17.  
  18.   But as mentioned before, Ghostscript has to be installed and set-up first.
  19.  
  20.  
  21.   Setting-up Ghostscript
  22.   ~~~~~~~~~~~~~~~~~~~~~~
  23.   Since the documentation of some Ghostscript versions is anything-but-not-
  24.   very-verbose I decided, to shortly explain here, what steps to
  25.   perform to successfully install Ghostscript on your system:
  26.  
  27.       - unpack Ghostscript to where you wish it to be located at
  28.         (e.g. "Work:Ghostscript/")
  29.       - make an assign "Ghostscript:" to that Ghostscript directory
  30.         (e.g. put the line "Assign Ghostscript: Work:Ghostscript"
  31.          into your "S:User-Startup")
  32.       - assign PSFonts: to your postscript font directory (anywhere)
  33.         (e.g. put the line "Assign PSFonts: Work:Ghostscript/Fonts"
  34.          into your "S:User-Startup", if that font directory already
  35.          does exist there)
  36.       - create some environment variables in ENV: _and_ ENVARC: which have
  37.         to look as follows (respecting upper and lowercase):
  38.  
  39.            Variable          Content        Remark
  40.  
  41.            GS_FONTPATH                      *NOT* to be created (do delete)
  42.            GS_LIB            PSFonts:
  43.            GS_OPTIONS                       create, but leave *EMPTY* (blank)
  44.            GS_DEVICE         amiga
  45.  
  46.       - create a file "PSFonts:FONTMAP" with at least the following lines:
  47.  
  48.  
  49. % fontmap aka Fontmap
  50. % ----------------------------------------------------------------
  51. /Times-Roman                    (ptmr.gsf)      ;
  52. /Times-Italic                   (ptmri.gsf)     ;
  53. /Times-Bold                     (ptmb.gsf)      ;
  54. /Times-BoldItalic               (ptmbi.gsf)     ;
  55.  
  56.  
  57.     The single ps fonts are assigned via the FONTMAP. For fonts used by ps
  58.     files there must be an entry to allow interpretation of these files, but
  59.     basically each font can easily substituted by an other.
  60.  
  61.     It does not matter, which font files are assigned for which fontname;
  62.     in general entries within the FONTMAP file at "PSFonts:" just have to
  63.     go conformeous with the following scheme:
  64.  
  65.           /Fontname             (Filename)      ;
  66.  
  67.     for example
  68.  
  69.           /Helvetica            (Helvet.pfb)    ;
  70.  
  71.     This means that the corresponding files must actually exist.
  72.     But one also may substitute fonts symbolically by other fonts
  73.     (to be understood like an alias or replacement font as known
  74.     from Windows (TM) for "Arial" and "Helvetica") like for example:
  75.  
  76.           /Helvetica_Bold       /Helvetica      ;
  77.  
  78.  
  79.   Remarks
  80.   ~~~~~~~
  81.    - if special versions for specific CPUs do crash, then try versions
  82.      for "smaller" CPUs (e.g. 68000 version instead of 040+FPU version).
  83.    - please note, that setting DPI to higher values does not necessarily
  84.      increase image quality, but memory usage (default is DPI=72).
  85.      Same is to mention for the output colordepth:
  86.      256 colors give better results, when you've to perform dithering.
  87.    - files to be recognized must either have the standard Postscript (TM)
  88.      header (containing '%!PS-Adobe' in it) or have the file extension
  89.      ".ps" and begin with '%' (containing instructions for GhostScript).
  90.    - PDF files are also supported (extension ".pdf" and beginning with '%'),
  91.      but having the correct and needed fonts installed is more critical
  92.      for these. Had not enough fonts to successfully test loading of any
  93.      of these.
  94.    - error output of Ghostscript still is directed to stdio/Output(),
  95.      so problems may be visible transparently
  96.  
  97.